﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MP3Ganizer.BusinessObject.Classification
{
    public class CoupleOfString
    {
        private string _first;
        private string _second;

        public CoupleOfString(string first, string second)
        {
            // TODO: Complete member initialization
            this._first = first;
            this._second = second;
        }

        public override bool Equals(object obj)
        {
            var objToCompare = obj as CoupleOfString;
            if (objToCompare == null)
                return false;
            if (objToCompare._first.Equals(this._first) && objToCompare._second.Equals(this._second))
                return true;
            if (objToCompare._first.Equals(this._second) && objToCompare._second.Equals(this._first))
                return true;

            return base.Equals(obj);
        }
    }
}
